﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;

namespace NHL.App
{
    public partial class MainPage : PhoneApplicationPage
    {
        // Constructor
        public MainPage()
        {
            InitializeComponent();
        }

        private void NewsButton_Click(object sender, RoutedEventArgs e)
        {
            { NavigationService.Navigate(new Uri("/Views/News/News.xaml", UriKind.RelativeOrAbsolute)); }
        }

        private void StandingsButton_Click(object sender, RoutedEventArgs e)
        {
            { NavigationService.Navigate(new Uri("/Views/Standings/Standings.xaml", UriKind.RelativeOrAbsolute)); }
        }

        private void SettingsButton_Click(object sender, RoutedEventArgs e)
        {
            { NavigationService.Navigate(new Uri("/Views/Settings/Settings.xaml", UriKind.RelativeOrAbsolute)); }
        }

        private void AboutButton_Click(object sender, RoutedEventArgs e)
        {
            { NavigationService.Navigate(new Uri("/Views/About/About.xaml", UriKind.RelativeOrAbsolute)); }
        }  
    }
}